gh-157778: Include opening brace line in multiline f-string errors - #157779
Conversation
vstinner
left a comment
There was a problem hiding this comment.
I like the new feature (more complete error message), but I feel unable to review this change. At least, it adds tests, good!
No problem was just in case you wanted to take a look! |
It might be a little bit late to change error messages in Python 3.15, no? Some projects may start relaying on Python 3.15.0 error messages. |
We have never promised the stability of error messages, specially syntax errors. If you feel strongly I will not backport it but otherwise I think is beneficial and we have done it before (is a fix on the error message). |
|
I don't feel strongly, if you're confident, go ahead on the backport :-) |
|
Thanks @pablogsal for the PR 🌮🎉.. I'm working now to backport this PR to: 3.15. |
|
Sorry, @pablogsal, I could not cleanly backport this to |
|
GH-158047 is a backport of this pull request to the 3.15 branch. |
|
Uh oh!
There was an error while loading. Please reload this page.